/*
 * @Descripttion:
 * @version:
 * @Date: 2021-04-21 09:18:32
 * @LastEditors: huzhushan@126.com
 * @LastEditTime: 2022-09-27 18:51:35
 * @Author: huzhushan@126.com
 * @HomePage: https://huzhushan.gitee.io/vue3-element-admin
 * @Github: https://github.com/huzhushan/vue3-element-admin
 * @Donate: https://huzhushan.gitee.io/vue3-element-admin/donate/
 */
const Layout = () => import('@/layout/index.vue')
//导入组件
const File = () => import('@/views/systemic/File.vue')
const MyFilter = () => import('@/views/systemic/MyFilter.vue')
const Dictionary = () => import('@/views/systemic/Dictionary.vue')
const Log = () => import('@/views/systemic/Log.vue')
const Parameter = () => import('@/views/systemic/Parameter.vue')
const Task = () => import('@/views/systemic/Task.vue')
const Secret = () => import('@/views/systemic/Secret.vue')
//注意事项：必须保证路由的name属性值是唯一的
export default [
  {
    path: '/systemic',
    component: Layout,
    name: 'systemic',
    meta: {
      title: '系统管理',
    },
    icon: 'Location',
    children: [
      {
        path: '/file',
        name: 'file',
        component: File,
        meta: {
          title: '文件管理',
        },
      },
      {
        path: '/MyFilter',
        name: 'MyFilter',
        component: MyFilter,
        meta: {
          title: '我的文件',
        },
      },
      {
        path: '/dictionary',
        name: 'dictionary',
        component: Dictionary,
        meta: {
          title: '字典管理',
        },
      },
      {
        path: '/log',
        name: 'log',
        component: Log,
        meta: {
          title: '日志管理',
        },
      },
      {
        path: '/parameter1',
        name: 'parameter1',
        component: Parameter,
        meta: {
          title: '参数设置',
        },
      },
      {
        path: '/task',
        name: 'task',
        component: Task,
        meta: {
          title: 'Quartz任务管理',
        },
      },
      {
        path: '/secret',
        name: 'secret',
        component: Secret,
        meta: {
          title: '秘钥管理',
        },
      },
    ],
  },
]
